package com.jye.rseven.user.mapper;


import com.jye.rseven.domain.TzPtCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TzPtCodeMapper {
    void addTz(@Param("tz") TzPtCode tzPtCode);

    void updatePtStatus(@Param("type2") int type2, @Param("pid")String pid);

    List<TzPtCode> selectFutureOverTimeOrder();

    void updateCloseOverTimeOrder(@Param("id") Long dataId);

    TzPtCode findTzByPtCode(@Param("pid") String ptCode);

    TzPtCode findPtById(@Param("id") int id);

    List<TzPtCode> findPtByUId(@Param("uId") int uId, @Param("skip") int skip, @Param("limit") int limit);

    int findUidById(@Param("id") int id);
}
